//
//  SZLBasicViewController.h
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/7/18.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NoDataView.h"
#import "NoDataShowView.h"

@interface SZLBasicViewController : UIViewController
{
    UIView *_naviBar;//自定义导航条
}

@property (nonatomic,strong) UILabel *titleLab;
@property (nonatomic,strong) UIButton *refreshBtn;
@property (nonatomic,strong) NoDataView *noDataView;
@property (nonatomic,strong) NoDataShowView *showView;
@property (nonatomic,strong) UILabel *noDataLab;


- (void)createNaviNeedsBack:(BOOL)need;
- (void)showOnlyText:(NSString *)text;
//网络请求失败
- (void)showRequestAgainView:(SEL)action;
- (void)hideRequestAgainView;

- (void)showReloadViewWithTarget:(id)target action:(SEL)action;
- (void)hideReloadView;
//没有数据
- (void)showNoDataView:(CGRect)frame;
- (void)showNoDataView:(CGRect)frame title:(NSString *)tips;
- (void)hideNoDataView;
- (void)showNoDataView:(UIView *)view frame:(CGRect)frame title:(NSString *)tips;

- (void)showNoDataLab:(UIView *)view range:(CGRect)frame title:(NSString *)tips;
- (void)hideNoDataLab;
- (void)showClearBgWaiter;
//默认的颜色
- (void)showWaiter;
- (void)hideWaiter;

@end
